Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leaks in SecEntity structure for XrdHttp. #493

Closed
wants to merge 1 commit into from

Conversation

bbockelm
Copy link
Contributor

@bbockelm bbockelm commented Apr 3, 2017

This fixes two problems:

  1. The SecEntity cleanup code in XrdHttp did not clean up two fields of the data structure.
  2. Whenever a security extractor is used (which should be always!), the host data was extracted twice - and not cleaned up in between - leaking the original data.

@bbockelm
Copy link
Contributor Author

bbockelm commented Apr 3, 2017

Please backport to 4.6.x series too - we're observing these memory leaks in the wild!

@abh3
Copy link
Member

abh3 commented Apr 3, 2017 via email

@bbockelm
Copy link
Contributor Author

bbockelm commented Apr 4, 2017

Yup, that's that's what I intended to mean by suggesting a backport to 4.6.x series. I just didn't want to wait for 4.7.0 for this fix.

@abh3
Copy link
Member

abh3 commented Apr 4, 2017

Fabrizio merged this fix into his pull request, so no need to merge this one.

@abh3 abh3 closed this Apr 4, 2017
@abh3
Copy link
Member

abh3 commented Apr 4, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants